<assign prefPShowTabShowOptions=2>
<+b_show dialog_title="Show Captions">

<+b_border>
<table>
<tr>
	<td bgcolor=#808080>
		<input type=custom name=preview alt=$(mainPreviewAltText)  width=#previewWidth height=#previewHeight>
	</td>
	<td width=1 bgcolor=#colorHighlight></td>
	<td width=#lw bgcolor=#colorGroupBox>
		<img src=#boxHeader height=24 width=#lw save=boxHeaderTtl>
		<img src=#boxHeaderTtl i_text="Selected Caption Text" i_textshadowopacity=0 i_textsize=16 i_textweight=900 i_textleft=6 i_texttop=5 i_textcol=#colorHighlight save=boxHeaderTtl>
		<img src=#boxHeaderTtl i_text="Selected Caption Text" i_textshadowopacity=0 i_textsize=16 i_textweight=900 i_textleft=5 i_texttop=4 i_textcol=#colorHeaderText save=boxHeaderTtl>

		<table>
		<tr>
			<td background=#boxHeaderTtl align=right width=#lw height=24></td>
		</tr>
		</table>
		<input type=text multiline=1 name=captionText width=#lw height=#previewHeight-170>
		<img src=#boxHeader height=24 width=#lw save=boxHeaderTtl>
		<img src=#boxHeaderTtl i_text="Caption Format" i_textshadowopacity=0 i_textsize=16 i_textweight=900 i_textleft=6 i_texttop=5 i_textcol=#colorHighlight save=boxHeaderTtl>
		<img src=#boxHeaderTtl i_text="Caption Format" i_textshadowopacity=0 i_textsize=16 i_textweight=900 i_textleft=5 i_texttop=4 i_textcol=#colorHeaderText save=boxHeaderTtl>
		<table>
		<tr>
			<td background=#boxHeaderTtl align=right width=#lw height=24></td>
		</tr>
		</table>

		<img height=#ds>
		<table>
		<tr>
			<td align=right width=35 height=#optHeight><img height=3><br>Style</td>
			<td width=#ds></td>
			<td><select name=captionStyle sort=1 width=160 height=22 alt="Specifies the style\nfor this caption"></td>
			<td width=#ds></td>
			<td><img height=1><br><input type=button name=capStyleManage value="Styles" alt="Manage the\ncaption styles" width=54 height=20></td>
		</tr>
		</table>
		<table>
		<tr>
			<td align=right width=35 height=#optHeight><img height=3><br>Font</td>
			<td width=#ds></td>
			<td><select name=captionFace ownerdraw=1 sort=1 width=223 height=22 alt="Specifies the font\nfor this caption"></select></td>
		</tr>
		</table>
		<table>
		<tr>
			<td align=right width=35 height=#optHeight><img height=3><br>Size</td>
			<td width=#ds></td>
			<td><select name=captionSize editable width=60 height=22 alt="Specifies the font size\nfor this caption"></select></td>
		</tr>
		</table>
		<table>
		<tr>
			<td align=right width=35 height=#optHeight><img height=3><br>Color</td>
			<td width=#ds></td>
			<td><input type=color name=captionColor></td>
			<td width=#ds></td>
			<td>
					<img src=images/button_bold.png save=bold>
					<img src=images/button_italic.png save=italic>
					<img src=images/button_macro.png save=macro>
					<input type=button toggle=1 width=30 height=20 name=captionBold toolbar=1 nofade=1 xpar=#bold xpartoggle=#bold grayxpar=#bold grayxpartoggle=#bold img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox imgToggle=#fake toggleColor=#colorSelection alt="Left align\nthis caption" ascent=20>
					<input type=button toggle=1 width=30 height=20 name=captionItalic toolbar=1 nofade=1 xpar=#italic xpartoggle=#italic grayxpar=#italic grayxpartoggle=#italic img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox imgToggle=#fake toggleColor=#colorSelectionalt="Center align\nthis caption" ascent=20>
					<input type=button width=60 height=20 name=addCaptionMacro toolbar=1 nofade=1 xpar=#macro grayxpar=#macro img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey alt="Center align\nthis caption" ascent=20>
			</td>
		</tr>
		</table>		

	</td>
</tr>
</table>
<+e_border>
<img height=#ds>
<table>
<tr>
	<td>
				<assign sbwidth=#bw-210>
				<+b_box label="Caption Placement" width=#bw-20  box_reset=1 resetName=captionPlacementReset resetAlt="Reset caption placement settings">
					<img src=images/button_textcent.png save=alignc>
					<img src=images/button_textjust.png save=alignj>
					<img src=images/button_textleft.png save=alignl>
					<img src=images/button_textright.png save=alignr>
					<table cellspacing=#ds>
					<tr>
						<td width=#optLabelWidth+8 align=right><img height=3><br>Alignment</td>
						<td>
							<input type=button toggle=1 width=30 height=20 name=captionLeft:a toolbar=1 nofade=1 xpar=#alignl xpartoggle=#alignlgrayxpar=#alignl grayxpartoggle=#alignl img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox imgToggle=#fake toggleColor=#colorSelection alt="Left align\nthis caption" ascent=20>
							<input type=button toggle=1 width=30 height=20 name=captionCenter:a toolbar=1 nofade=1 xpar=#alignc xpartoggle=#alignc grayxpar=#alignc grayxpartoggle=#alignc img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox imgToggle=#fake toggleColor=#colorSelection alt="Center align\nthis caption" ascent=20>
							<input type=button toggle=1 width=30 height=20 name=captionRight:a toolbar=1 nofade=1 xpar=#alignr xpartoggle=#alignr grayxpar=#alignr grayxpartoggle=#alignr img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox imgToggle=#fake toggleColor=#colorSelection alt="Right align\nthis caption" ascent=20>
							<input type=button toggle=1 width=30 height=20 name=captionFill:a toolbar=1 nofade=1 xpar=#alignj xpartoggle=#alignj grayxpar=#alignj grayxpartoggle=#alignj img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox imgToggle=#fake toggleColor=#colorSelection alt="Fill align\nthis caption" ascent=20>
						</td>
					</tr>
					</table>
					<table cellspacing=#ds>
					<tr>
						<td align=right width=#optLabelWidth+8><img height=3><br>Position</td>
						<td>
							<img src=#textHorz>
							<input type=text name=captionX size=4 height=20 ascent=20>
							<img src=#textX>
							<input type=text name=captionY size=4 height=20 ascent=20>
							<img src=#textVert>
						</td>
					</tr>
					</table>
					<img height=11>
					<table cellspacing=#ds>
					<tr>
						<td width=#optLabelWidth+8 align=right><img height=3><br>Opacity</td>
						<td><input type=slider assoc=textOpacityScroll bgcolor=#colorGroupBox name=textOpacitySlider offset=0 drange=255 horz=1 width=#sbwidth range=255 page=25 step=3 ascent=10 alt="Adjust caption\nopacity"></td>
						<td><input type=textbox name=textOpacityScroll width=40 height=20 sliderWidth=200 sliderMin=0 sliderMax=100 sliderMinLimit=0 sliderMaxLimit=100 sliderFormat="%1.0f" sliderScale=2.55 alt="Adjust caption\ntransparency" ascent=20><img src=#textPercent></td>
					</tr>
					<tr>
						<td align=right><img height=3><br>Skew</td>
						<td><input type=slider assoc=captionSkewScroll name=captionSkewScrollSlider bgcolor=#colorGroupBox offset=-360000 drange=720000 horz=1 width=#sbwidth range=720000 page=10000 step=1000 ascent=10 alt="Adjust caption\nskew"></td>
						<td><input type=textbox name=captionSkewScroll width=40 height=20 sliderWidth=200 sliderMin=-360 sliderMax=360 sliderMinLimit=-36000 sliderMaxLimit=36000 sliderFormat="%1.1f" sliderScale=1000 alt="Skew characters in the caption" ascent=20><img src=#textDegree></td>
					</tr>
					<tr>
						<td align=right><img height=3><br>Rotate</td>
						<td><input type=slider assoc=captionRotationScroll name=captionRotationScrollSlider bgcolor=#colorGroupBox offset=-360000 drange=720000 horz=1 width=#sbwidth range=720000 page=10000 step=1000 ascent=10 alt="Adjust caption\nrotation"></td>
						<td><input type=textbox name=captionRotationScroll width=40 height=20 sliderWidth=200 sliderMin=-360 sliderMax=360 sliderMinLimit=-36000 sliderMaxLimit=36000 sliderFormat="%1.1f" sliderScale=1000 alt="Rotate the caption" ascent=20><img src=#textDegree></td>
					</tr>
					<tr>
						<td align=right><img height=3><br>Character Rotate</td>
						<td><input type=slider assoc=captionCharRotationScroll name=captionCharRotationScrollSl bgcolor=#colorGroupBox offset=-360000 drange=720000 horz=1 width=#sbwidth range=720000 page=10000 step=1000 ascent=10 alt="Adjust character\nrotation"></td>
						<td><input type=textbox name=captionCharRotationScroll width=40 height=20 sliderWidth=200 sliderMin=-360 sliderMax=360 sliderMinLimit=-36000 sliderMaxLimit=36000 sliderFormat="%1.1f" sliderScale=1000 alt="Rotate the caption" ascent=20><img src=#textDegree></td>
					</tr>
					<tr>
						<td align=right><img height=3><br>Character Spacing</td>
						<td><input type=slider assoc=textCharSpacingScroll name=textCharSpacingScrollSlider bgcolor=#colorGroupBox offset=100 drange=49900 horz=1 width=#sbwidth range=49900 page=1000 step=100 ascent=10 alt="Adjust space between characters"></td>
						<td><input type=textbox name=textCharSpacingScroll width=40 height=20 sliderWidth=200 sliderMin=1 sliderMax=500 sliderMinLimit=1 sliderMaxLimit=500 sliderFormat="%1.1f" sliderScale=100 alt="Adjust space between characters" ascent=20><img src=#textPercent></td>
					</tr>
					<tr>
						<td align=right><img height=3><br>Line Spacing</td>
						<td><input type=slider assoc=textLineSpacingScroll name=textLineSpacingScrollSlider bgcolor=#colorGroupBox offset=100 drange=49900 horz=1 width=#sbwidth range=49900 page=1000 step=100 ascent=10 alt="Adjust spacebetween lines"></td>
						<td><input type=textbox name=textLineSpacingScroll width=40 height=20 sliderWidth=200 sliderMin=1 sliderMax=500 sliderMinLimit=1 sliderMaxLimit=500 sliderFormat="%1.1f" sliderScale=100 alt="Adjust space between lines" ascent=20><img src=#textPercent></td>
					</tr>
					</table>
					<img height=11>
					<table cellspacing=6>
					<tr>
						<td width=90 align=right><img height=3><br>Outline</td>
						<td><img height=2><br><input type=checkbox name=captionOutline bgcolor=#colorGroupBox alt="Outlines this\ncaption"></td>
						<td><input type=color name=captionOutlineColor></td>
					</tr>
					<tr>
						<td align=right><img height=3><br>Shadow</td>
						<td><img height=2><br><input type=checkbox name=captionShadow bgcolor=#colorGroupBox alt="Adds a shadow this\ncaption"></td>
						<td><input type=color name=captionShadowColor></td>
					</tr>
					</table>
					
				<+e_box>	
	</td>
	<td width=#ds></td>
	<td>
				<+b_box box_checkbox=1 label="Use Texture on Caption" alt="Enable use of a texture on this caption" name=useTexture width=#bw+20  box_reset=1 resetName=captionTextureReset resetAlt="Reset caption texture settings">
					
					<table cellspacing=#ds>
					<tr>
						<td width=20></td>
						<td width=70><img height=3><br><input type=radio bgcolor=#colorGroupBox name=textureFile:a alt="Use an image as the texture" value="Image"></td>
						<td>
							<table>
							<tr>
								<td>
									<input type=button name=textureImageBrowse toolbar=1 width=60 height=20 xpar=images/button_browse.png  grayxpar=images/button_browse.png img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox  nofade=1 alt="Browse for a file" ascent=20>
									<input type=button name=textureImageEdit toolbar=1 nofade=1 width=30 height=20 xpar=images/button_editorsm.png grayxpar=images/button_editorsm.png img=#fake grayImg=#fake fgcolor=#colorDialogText fgcolorover=#colorSelection graycolor=#colorDialogTextGrey bgcolor=#colorGroupBox	alt="Editor\nOpen this image in an editor" ascent=20>
								</td>
								<td width=#ds></td>
								<td><input type=label name=textureFilename width=150 height=20></td>
							</tr>
							</table>
						</td>
					</tr>
					<tr>
						<td width=20></td>
						<td><img height=3><br><input type=radio bgcolor=#colorGroupBox name=textureGradient:a alt="Use a gradient as the texture" value="Gradient"></td>
						<td><input type=button name=captionGradientCreate value="Edit Gradient" width=90 height=20 alt="Create a gradient"></td>
					</tr>
					</table>
					<img height=2>
					<table cellspacing=#ds>
					<tr>
						<td width=90 align=right><img height=3><br>Zoom</td>
						<td><input type=textbox name=textureScaleScroll width=60 height=20 sliderWidth=200 sliderMin=2 sliderMax=500 sliderMinLimit=2 sliderMaxLimit=500 sliderFormat="%1.2f" sliderScale=10 alt="Zoom the texture" ascent=20><img src=#textPercent></td>
						<td width=20></td>
						<td align=right><img height=3><br>Scaling</td>
						<td><select name=textureMappingMode width=120 height=22 alt="Specifies how the texture is applied to the caption"></select></td>
					</tr>
					</table>
				<+e_box>			
				<img height=#ds>
				<+b_box label="Caption Interactivity" width=#bw+20 box_reset=1 resetName=captionActionReset resetAlt="Reset caption interactivity settings">
					
					<table cellspacing=#ds>
					<tr>
						<td align=right width=#optLabelWidth><img height=3><br>Action</td>
						<td><select name=captionActionType width=140 height=22 alt="Specifies what happens\nwhen the user clicks on this caption"></select></td>
						<td align=right width=50><img height=3><br>Highlight</td>
						<td><input type=color name=captionActionColor></td>
					</tr>
					</table>
					<table cellspacing=#ds>
					<tr>
						<td align=right width=#optLabelWidth><img height=3><br>Destination</td>
						<td><input type=text name=captionActionDest width=#bw-110 height=20 alt=""></td>
					</tr>
					</table>
				<+e_box>
	</td>
</tr>
</table>

<+e_show>